import './assets/main.scss'

import { createApp } from 'vue'

import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

import App from './App.vue'

import router from '@/router'

import { createPinia } from 'pinia'

const pinia = createPinia()



//导入持久化插件
import {createPersistedState} from'pinia-persistedstate-plugin'

const persist = createPersistedState()
//pinia使用持久化插件
pinia.use(persist)




const app = createApp(App);
app.use(ElementPlus);
app.use(router)
app.use(pinia)
app.use(pinia)
app.mount('#app')
